﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lanting.Model.Util
{
    /// <summary>
    /// 所有业务类继承于此基类
    /// </summary>
    public class IdEntity
    {
        public string author { get; set; }
        public int authorId { get; set; }
        public DateTime date { get; set; }
        public int id { get; set; }

        /// <summary>
        /// id默认-1
        /// </summary>
        public IdEntity()
        {
            id = -1;
        }
    }
}
